package com.example.springbootgraduation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
//疫情数据（中国疫情图、饼图、柱状图）
@TableName("nocv_data")
public class NocvData {
    @TableId(value = "id",type = IdType.AUTO)//id自增
    private Integer id;
    private String name;
    private Integer value;

    private Date updateTime;
}
